Skip to content

Fix RIP-201 bucket normalization spoofing#573

Merged
Scottcjn merged 1 commit intoScottcjn:mainfrom
liu971227-sys:bounty/554-bucket-spoof-fix
Mar 5, 2026
Merged

Fix RIP-201 bucket normalization spoofing#573
Scottcjn merged 1 commit intoScottcjn:mainfrom
liu971227-sys:bounty/554-bucket-spoof-fix

Conversation

@liu971227-sys
Copy link
Contributor

Summary

  • reject PowerPC/G4-G5 claims whose CPU brand string does not match PowerPC hardware
  • require PowerPC-specific SIMD evidence and cache-timing evidence before granting a vintage PowerPC classification
  • derive stored attestation family/arch and enrollment weight from verified server-side signals instead of raw claimed device_arch
  • convert the RIP-201 bucket normalization spoofing PoC #551 spoof regression tests into fix-verification coverage and update related fingerprint timing tests

Validation

  • python -m pytest tests/test_rip201_bucket_spoof.py -v
  • python -m pytest tests/test_fingerprint_improved.py tests/test_fingerprint.py tests/test_rip201_bucket_spoof.py -q

Bounty

  • Closes rustchain-bounties#554
  • Follow-up to the merged PoC in Rustchain#551
  • Wallet: RTCa320f4334e7500987bce2fa0475f089ae9cd90e3

@github-actions github-actions bot added BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) node Node server related tests Test suite changes size/L PR: 201-500 lines labels Mar 4, 2026
@Scottcjn Scottcjn marked this pull request as ready for review March 5, 2026 01:34
@Scottcjn Scottcjn self-requested a review as a code owner March 5, 2026 01:34
@Scottcjn Scottcjn merged commit bc7a2a0 into Scottcjn:main Mar 5, 2026
6 checks passed
@Scottcjn
Copy link
Owner

Scottcjn commented Mar 5, 2026

Bounty paid: 100 RTCRTCa320f434... (from founder_dev_fund, pending 564). RIP-201 bucket normalization fix, bounty #554.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) node Node server related size/L PR: 201-500 lines tests Test suite changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants